all: hanoi-r.out hanoi-nr.out

hanoi-r.out: hanoi-main.c hanoi-r.c
	gcc -g -o $@ $^

hanoi-nr.out: hanoi-main.c hanoi-nr.c
	gcc -g -o $@ $^

clean:
	#rm -f hanoi-r hanoi-nr
	@find -type f -regex ".*\.a\|.*\.i\|.*\.o\|.*\.bin\|.*\.img\|.*\.map\|.*\.out\|.*\.bochsrc\.disk\|.*\.img\.lock\|.*\.s"  -delete

